package com.masterviame.Authc.service;

import com.masterviame.Authc.pojo.Permission;

import java.util.List;

/**
 * Created by mastervictory on 2017/12/13.
 */
public interface PermissionService {
    public void createPermisssion(Permission permission);
    public void stopPermission(long permissionid) throws Exception;
    public void deletePermissions(long permissionid);
    public List<Permission> getPermissions();
    public Permission getPermissionByid(long permission);
    public void updatePermission(Permission permission);
}
